<div>
  <div class="accordion-item-header">
    <%= render :partial => 'tabs' -%>
  </div>
  <div class="accordion-item-body">
    <% if @extension.isGwt() %>
      <div id="gwtpage"> </div>
      <script>
        loadGWT('<%= @extension.getId() -%>', <%= @resource.id -%>,'<%= escape_javascript(@resource.key) -%>', '<%= escape_javascript(@resource.name) -%>',
            '<%= @resource.scope -%>', '<%= @resource.qualifier -%>', '<%= escape_javascript(@resource.language) -%>');
      </script>
    <% elsif @extension.getTarget() # ruby on rails page %>
      <%= render :inline => @extension.getTarget().getTemplate() -%>
    <% end %>
  </div>
</div>
